import { request } from 'umi';

export function getUser({ id }) {
  return request('/user', {
    method: 'get',
    params: { id },
  });
}
